<?php

  $NEWS_ID = is_array($_REQUEST["del_id"]) ? implode("," , $_REQUEST["del_id"]) : (int)$_REQUEST["del_id"];
  if (empty($NEWS_ID)) exit(0);  

  $query = "DELETE FROM $TBL_REPAY WHERE id IN ($NEWS_ID)";
  $res = mysql_query($query) or die(mysql_error());
  if (! $res)
  {
    MyNotice("删除失败,请与管理员联系",2,"news.php");
    exit(0);
  }
 
  MyNotice("繳費回報成功刪除!",1,"list.php");  
  exit(0);
?>
